cmake_minimum_required (VERSION 3.8)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c++11 -march=native")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -march=native")
project(GIRT_Vision)
FIND_PACKAGE(OpenCV  REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(GIRT_Vision "main.cpp" 
"Common/AngleSolver/include/AngleSolver.h"
"Common/AngleSolver/src/AngleSolver.cpp"
"Common/Prediction/include/PreDiction.h"
"Common/Prediction/src/PreDiction.cpp"
"Common/Filter/include/Filter.h"
"Common/Filter/src/Filter.cpp"
"Common/SerialPort/include/Serial.h" 
"Common/SerialPort/src/Serial.cpp" 
"DistinguishMode/Armor/include/ArmorDetector.h"
"DistinguishMode/Armor/src/ArmorDetector.cpp"
"DistinguishMode/Rune/include/Rune.h"
"DistinguishMode/Rune/src/Rune.cpp"
"TotalControl/include/image.h"
"TotalControl/src/image.cpp"
"./head.h")
find_package(Threads)
target_link_libraries(GIRT_Vision ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(GIRT_Vision ${OpenCV_LIBS})
